<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CaUploadGroup extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {

        Schema::create('ca_upload_groups', function (Blueprint $table) {
            $table->id('group_id');
            $table->string('group_type',10);
            $table->string('group_name',30);
            $table->integer('sort');
            $table->tinyInteger('is_delete');
            $table->integer('wxapp_id');
            $table->integer('create_time');
            $table->integer('update_time');
        });

    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //Schema::drop('ca_upload_group');
    }
}
